import 'package:flutter/material.dart';

class MinePage extends StatefulWidget {
  const MinePage({super.key});

  @override
  State<MinePage> createState() => _MinePageState();
}
class _MinePageState extends State<MinePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        //背景颜色
        backgroundColor: Colors.red,
        //前景颜色：控制文字和图标颜色
        foregroundColor: Colors.white,
        // 标题居中
        centerTitle: true,
        title: const Text('我的'),
      ),
      body: const Text('我的'),
    );
  }
}